/* 
 * File:   Question.h
 * Author: eduardo
 *
 * Created on 6 de diciembre de 2012, 17:53
 */

#ifndef QUESTION_H
#define	QUESTION_H

#include <iostream>
#include <string>
#include <cstring>
#include <set>
#include <map>
#include "DocOccurrence.h"
using namespace std;

class Question {
public:
    Question();
    ~Question();

    void makeQuestion(const string& q);

private:
    void takeTerms();

    string _question;
    vector<string> _terms;
    int _j;
    
    set<int> _documents;
    int _totalDocs;
    map<int, double> _docSem;
};

#endif	/* QUESTION_H */

